Deployment is the process of putting your website online so others can access it. Popular platforms include GitHub Pages, Netlify, and Vercel.
Used to display images on a webpage.
<img src="image.jpg" alt="Description of image" width="300">
src
→ file path or URL of the image.alt
→ alternative text for screen readers or if image fails.width
, height
→ size of the image.Used to embed audio files (like mp3) into webpages.
<audio controls>
<source src="song.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
controls
→ shows play/pause buttons.autoplay
→ starts automatically.loop
→ repeats the audio.Used to embed video files (like mp4) into webpages.
<video width="400" controls>
<source src="movie.mp4" type="video/mp4">
Your browser does not support the video element.
</video>
controls
→ displays video controls.autoplay
→ plays video automatically.muted
→ starts video with no sound.loop
→ repeats video continuously.To make media accessible:
alt
for images.